#include "rewine.h"

#include "rewine/LoaderSingleton.hpp"

using std::string;

int
rewine_AddFindPath(const char *dirpath) {
    auto& resolver = rewine::g_Loader->getPathResolver();
    return resolver.add(string(dirpath));
}

int
rewine_RemoveFindPath(const char *dirpath) {
    auto& resolver = rewine::g_Loader->getPathResolver();
    return resolver.remove(string(dirpath));
}
